<html>
    <head>
        <title><g:layoutTitle default="Grails" /></title>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
        <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <g:layoutHead />
        <g:javascript library="application" />	
        <g:javascript library="jquery-1.3.2.min" />
        <style type="text/css">
        	.showMouseOver {
        		background-color: #cccccc;
        	}
        	.extra {
        		color:blue;
        	}
        	.link {
        		background-color: #98FB98;
        	}
        	.systemTitle {
				font-weight: bold;
				position: relative;
				top: -12px;
				left: 0px;
				font-size: 24px;
			}
        </style>
        <script type="text/javascript">				
	    	$(function(){
	    		$(".mouseOver").mouseover(function(){
					$(this).addClass("showMouseOver");	
				}).mouseout(function(){
					$(this).removeClass("showMouseOver");
				});
		    	$("a").mouseover(function(){
					$(this).addClass("link");	
				}).mouseout(function(){
					$(this).removeClass("link");
				});
				$("input[type=submit]").mouseover(function(){
					$(this).addClass("link");	
				}).mouseout(function(){
					$(this).removeClass("link");
				});
	    	});
		</script>
    </head>
    <body>
    	<calendar:resources lang="en" theme="tiger"/>
        <div id="spinner" class="spinner" style="display:none;">
            <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
        </div>	

        <div class="logo">
			<a href="http://128.5.93.193/arrivalpath">
        	  <img src="${resource(dir:'images',file:'top_11.gif')}" alt="wg2009_top"/>
           	</a>
           	<span class="systemTitle">運動員行蹤紀錄系統</span>
        </div>
        
    	<div id="pathNav" style="margin: 8px auto; width:500px;">
    		他國 -&gt; <g:link controller="register" action="nAirport">桃園機場站</g:link> -&gt; <g:link controller="register" action="nTrain">桃園高鐵站</g:link> -&gt; <g:link controller="register" action="sTrain">左營高鐵站(小港機場)</g:link> -&gt; <g:link controller="register" action="center">認證中心</g:link> -&gt; <g:link controller="register" action="hotel">旅館</g:link><br/>
    		他國 &lt;- 桃園機場站  &lt;- 桃園高鐵站 &lt;- 左營高鐵站(小港機場) &lt;- <g:link controller="register" action="hotelLeft">旅館</g:link>
    	</div>

		<table style="width:2048px;"><tr>
		<td style="width:100px;">
			<ul>
			<li>運動員(${Sportsman.count()})
				<ul>
					<li><g:link controller="sportsman" action="search">搜尋</g:link></li>
					<li><g:link controller="sportsman" action="upload">上傳</g:link></li>
					<li><g:link controller="sportsman" action="history">異動紀錄</g:link></li>
				</ul>
			</li>
			</ul>
		</td>
		<td>
        	<g:layoutBody />		
        </td>
        </tr></table>
    	
    </body>	
</html>